﻿<!DOCTYPE html>

<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/css/global.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/main.css")" rel="stylesheet" type="text/css" />

    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="Stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/ckeditor/ckeditor.js")" type="text/javascript" ></script>
    <script src="@Url.Content("~/Scripts/RongeJs/cic-main.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/RongeJs/Confirm.js")" type="text/javascript"></script>


</head>
<body>
    <div class="All_top">
        <div class="headpart ui-icons"><p><i>欢迎</i>, @HttpContext.Current.User.Identity.Name | [<a href="@Url.Action("LogOff", "Account")">注销</a>]</p></div>
    </div>
    <div class="center">
        <div class="box">
            <div class="center_box_bg">
                <div class="menu">
                    <ul>
                        <li class="item_no ui-icons"><span class="item_A ui-icons"></span><a href="@Url.Action("Index","Home")">首页</a></li>
                        <li class="item_no_b ui-icons"></li>
                        <li class="li_width">|</li>
                        <li class="">
                           @if (HttpContext.Current.User.IsInRole("Admin") || HttpContext.Current.User.IsInRole("Editer"))
                            {
                            <span class="item_B ui-icons"></span><a href="@Url.Action("Manage", "Home")">工作主页</a>
                            }
                            else 
                            {
                                <span class="item_B ui-icons"></span><a href="@Url.Action("Zone", "Home")">我的主页</a>
                            }
                        </li>
                    </ul>
                </div>
            </div>
            <div class="center_box_bg">
                <div class="ChannelTitle"><h2><input type="button" class="Button1 ui-icons" onclick="history.go(-1)" value="返回上一页" /></h2></div>
                @RenderBody()
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <!--foot-->
    <div class="foot">
    <div class="ui-icons footcenter">
        <div class="foot_main">© 2012 融益书屋. All Rights Reserved.</div>
    </div>
    </div>
    <!--foot-end-->
</body>
</html>

